package com.iflysse.controller;

import com.iflysse.pojo.vo.req.KnowledgePointVoReq;
import com.iflysse.pojo.vo.req.QuestionIdVoReq;
import com.iflysse.pojo.vo.resp.QuestionInfoVoResp;
import com.iflysse.pojo.vo.resp.QuestionVoResp;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/question")
@Api(value = "老师端题库接口")
public class QuestionController {


    /**
     * 查询问题答案详情
     */
    @PostMapping("/queryQuestionAnswer")
    @ApiOperation("查询问题答案详情")
    public QuestionInfoVoResp queryQuestionAnswer(QuestionIdVoReq questionIdVoReq){
        QuestionInfoVoResp questionInfoVoResp=new QuestionInfoVoResp();
       return questionInfoVoResp;
    }





    /**
     * 教室端 根据第三级知识点 加载题库问题
     */
    @PostMapping("/loadQuestionByKnowLedgePoint")
    @ApiOperation("教室端根据第三级知识点加载题库问题")
    public QuestionVoResp doLoadQuestionByKnowLedgePoint(KnowledgePointVoReq knowledgePointVoReq){

        QuestionVoResp questionVoResp=new QuestionVoResp();

       return  questionVoResp;
    }


    /**
     * 查询问题详情
     */
    @PostMapping("/queryQuestionInfo")
    @ApiOperation("查询问题详情")
    public QuestionInfoVoResp queryQuestionInfo(QuestionIdVoReq questionIdVoReq) {

        QuestionInfoVoResp questionInfoVoResp=new QuestionInfoVoResp();
        return questionInfoVoResp;
    }




}
